package de.fhtrier.mp.wollmaus;

import org.newdawn.slick.AppGameContainer;
import org.newdawn.slick.GameContainer;
import org.newdawn.slick.SlickException;
import org.newdawn.slick.Sound;
import org.newdawn.slick.state.StateBasedGame;

import de.fhtrier.mp.wollmaus.gamestate.LoadingState;

public class MainGame extends StateBasedGame {
	
	public static MainGame instance;
	public Sound bgMusic;

	public static void main(String[] args) {
		AppGameContainer container;
		try {
			container = new AppGameContainer(new MainGame());
			container.setDisplayMode(1067, 787, false);
			container.setShowFPS(false);
			container.start();
		}
		catch (SlickException e) {
			e.printStackTrace();
		}
	}

	public MainGame() {
		super("Zurück gepfiffen");
		instance = this;
	}

	@Override
	public void initStatesList(GameContainer gc) throws SlickException {
		addState(new LoadingState());
	}
}
